import axiosInstance from "../request";

// https://api-midend.yunyansheji.com/Label/materialLabel
export function label(usage) {
  return axiosInstance.post('/Label/materialLabel', { usage: usage }, {
    params: {}
  })
}

export function addVisitor(params) {
  return axiosInstance.get('/api/visitor/add', { params: params })
}

// https://api-midend.yunyansheji.com/material/getListF
export function listF(label) {
  return axiosInstance.post('/material/getListF', {
    t: label,
    p: 1,
    n: 28,
    skey: null,
    fr: 2,
  })
}